<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
<title>理塘旅行社</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="/css/bootstrap.min.css" />
<link rel="stylesheet" href="/css/bootstrap-responsive.min.css" />
<link rel="stylesheet" href="/css/uniform.css" />
<link rel="stylesheet" href="/css/select2.css" />
<link rel="stylesheet" href="/css/unicorn.main.css" />
<link rel="stylesheet" href="/css/unicorn.grey.css" class="skin-color" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body style="min-width: 1500px;overflow:auto;">


	<div id="header">
		<h1>
			<a href="./dashboard.html">理塘旅行社</a>
		</h1>
	</div>
	<div id="user-nav" class="navbar navbar-inverse">
            <ul class="nav btn-group">
                <li class="btn btn-inverse"><a title="" href="#"><i class="icon icon-user"></i> <span class="text">个人信息</span></a></li>
                <li class="btn btn-inverse dropdown" id="menu-messages"><a href="#" data-toggle="dropdown" data-target="#menu-messages" class="dropdown-toggle"><i class="icon icon-envelope"></i> <span class="text">信息</span> <span class="label label-important">5</span> <b class="caret"></b></a>
                    <ul class="dropdown-menu">
                        <li><a class="sAdd" title="" href="#">新建信息</a></li>
                        <li><a class="sInbox" title="" href="#">收件箱</a></li>
                        <li><a class="sOutbox" title="" href="#">发件箱</a></li>
                        <li><a class="sTrash" title="" href="#">垃圾箱</a></li>
                    </ul>
                </li>
                <li class="btn btn-inverse"><a title="" href="#"><i class="icon icon-cog"></i> <span class="text">设置</span></a></li>
                <li class="btn btn-inverse"><a title="" href="login.html"><i class="icon icon-share-alt"></i> <span class="text">注销</span></a></li>
            </ul>
        </div>	

	<div id="sidebar">
		
		<ul>
			<li><a href="../index.html"><i class="icon icon-home"></i> <span>首页</span></a></li>
			<li class="submenu"><a href="#"><i
					class="icon icon-th-list"></i> <span>用户管理</span> </a>
				<ul>
					<li><a href="/admin/findAllUser">个人用户</a></li>
				</ul>
			</li>
			<li class="submenu"><a href="#"><i class="icon icon-th-list"></i>
					<span>热门景点管理</span></a>
				<ul>
					<li><a href="/admin/findAllRemen">当前热门</a></li>
				</ul></li>
			<li><a href="/admin/findAllYouHui"><i class="icon icon-th-list"></i> <span>优惠特价管理</span></a></li>
				<li  class="submenu active open">
					<a href="#"><i class="icon icon-th-list"></i> <span>全部旅途管理</span></a>
					<ul>
						<li class="active"><a href="/admin/findAllTra">全部旅途</a></li>
						<li class="active"><a href="/admin/findBin">回收站</a></li>
					</ul>
				</li>
		</ul>

	</div>



	<div id="content" style="height: 1000px;">
		<div id="content-header">
			<h1>旅途管理</h1>
			<div class="btn-group">
				<a href="/admin/findAllUser" class="btn btn-large tip-bottom" title="用户管理"><i class="icon-user"></i></a>
				<a href="/admin/findAllComment" class="btn btn-large tip-bottom" title="评论管理"><i class="icon-comment"></i><span class="label label-important">5</span></a>
			</div>
		</div>
		<div id="breadcrumb">
			<a href="../index.html" title="回到首页" class="tip-bottom"><i
				class="icon-home"></i> 首页</a> <a href="#" class="tip-bottom">全部旅途管理</a> <a
				href="#" class="current">全部旅途</a>
		</div>

		
		</br>
			&nbsp;&nbsp;<a href="#add" data-toggle="modal" class="btn btn-success" style="position:absolute; float:left;margin-left:12px;">添加旅途</a>
		
		<div class="container-fluid">
				<div class="row-fluid">
					<div class="span12">
		<div class="widget-box">
			<div class="widget-title">

				<h5>添加旅途</h5>
			</div>
			<div class="widget-content nopadding">
				<table class="table table-bordered data-table">
								<colgroup>
									<col style="width: 20%;">
									<col style="width: 20%;">
									<col>							
								</colgroup>
								<thead>
						<tr>							
							<th>旅途编号</th>
							<th>旅途标签</th>
							<th>旅途价格</th>
							<th>旅途满意度</th>
							<th>是否热门 1是 0否</th>
							<th>是否优惠 1是 0否</th>
							<th>介绍</th>
						</tr>
					</thead>
					<tbody>																								
						<tr th:each="item:${traList}">
							<td th:text="${item.traId}"></td>
							<td th:text="${item.traTitle}"></td>
							<td th:text="${item.traPrice}"></td>
							<td th:text="${item.traStisficing}"></td>
							<td th:text="${item.traPid}"></td>
							<td th:text="${item.traLid}"></td>
							<td th:text="${item.traIntraduce}"></td>
							<td>
								<a th:href="@{/admin/updateRemen(traId=*{item.traId})}" data-toggle="modal" class="btn btn-info">设为热门</a>
								<a th:href="@{/admin/updateYouhui(traId=*{item.traId})}" data-toggle="modal" class="btn btn-info">设为优惠</a>
								<a th:href="@{/admin/updateDelete(traId=*{item.traId})}" data-toggle="modal" class="btn btn-info" style="color: red">删除</a>
							</td>																				
						</tr>
				</table>
			</div>
		</div>
		</div>
		</div>
		</div>
		<div id="text" class="modal hide">
	<div class="modal-header">
		<button data-dismiss="modal" class="close" type="button">×</button>
		<h3>发送短信</h3>
	</div>
	<div class="modal-body">
		<div>收件人：<input type="text"/></div>
		<div><textarea style="width: 500px; height: 200px; resize: none;"/></textarea></div>
	</div>
	
	<div class="modal-body">
		
		<div><textarea style="width: 500px; height: 50px; resize: none;"/></textarea></div>
	</div>

		<a class="btn btn-primary" style="float:right; margin-right:15px">发送</a>

	<br/>
	<br/>
</div>	



<div id="add" class="modal hide">
	
<div class="row-fluid">
					<div class="span12">
						<div class="widget-box">
							<div class="widget-title">
								<span class="icon">
									<i class="icon-align-justify"></i>									
								</span>
								<h5>添加旅途</h5>
							</div>
							<div class="widget-content nopadding">
								<form action="/admin/addTra" method="get" class="form-horizontal" />
									<div class="control-group">
								<label class="control-label">旅途名称</label>
								<div class="controls">
									<input name="traName" type="text" class="update_wx"/>
								</div>
							</div>
							<div class="control-group">
								<label class="control-label">旅途标签</label>
								<div class="controls">
									<input name="traTitle" type="text" class="update_wx"/>
								</div>
							</div>
								<div class="control-group">
									<label class="control-label">旅途介绍</label>
									<div class="controls">
										<input name="traIntraduce" type="text" class="update_wx"/>
									</div>
								</div>

								<div class="control-group">
									<label class="control-label">旅途满意度</label>
									<div class="controls">
										<input name="traStisficing" type="text" class="update_wx"/>
									</div>
								</div>

								<div class="control-group">
									<label class="control-label">旅途价格</label>
									<div class="controls">
										<input name="traPrice" type="text" class="update_wx"/>
									</div>
								</div>
									<div class="form-actions">
										<button type="submit" class="btn btn-primary">保存</button>
									</div>
								</form>
							</div>
						</div>
					</div>
				</div>
</div>

<div id="update" class="modal hide">
	
<div class="row-fluid">
					<div class="span12">
						<div class="widget-box">
							<div class="widget-title">
								<span class="icon">
									<i class="icon-align-justify"></i>									
								</span>
								<h5>更新</h5>
							</div>
							<div class="widget-content nopadding">
								<form action="#" method="get" class="form-horizontal" />																		                                                                                                                                         
									<div class="control-group">
								<label class="control-label">角色名名</label>
								<div class="controls">
									<input type="text" class="update_wx" id="len"/>
								</div>
							</div>
							<div class="control-group">
								<label class="control-label">描述</label>
								<div class="controls">
									<input type="text" class="update_wx" id="len"/>
								</div>
							</div>
									<div class="control-group">
										<label class="control-label">功能选择</label>
										<div class="controls">
											<label><input type="checkbox" name="radios" /> 个人用户</label>
											<label><input type="checkbox" name="radios" /> 企业用户</label>
											<label><input type="checkbox" name="radios" /> 商品管理</label>
											<label><input type="checkbox" name="radios" /> 结算管理</label>
										</div>
									</div>
									<div class="form-actions">
										<button type="submit" class="btn btn-primary">保存</button>
									</div>
								</form>
							</div>
						</div>
					</div>
				</div>
</div>
	</div>






	<script src="/js/jquery.min.js"></script>
	<script src="/js/jquery.ui.custom.js"></script>
	<script src="/js/bootstrap.min.js"></script>
	<script src="/js/jquery.uniform.js"></script>
	<script src="/js/select2.min.js"></script>
	<script src="/js/jquery.dataTables.min.js"></script>
	<script src="/js/unicorn.js"></script>
	<script src="/js/unicorn.tables.js"></script>
</body>
</html>
